package com.mdd.front.service;

import com.mdd.common.core.AjaxResult;
import com.mdd.common.core.PageResult;
import com.mdd.common.entity.user.User;
import com.mdd.front.validate.common.PageValidate;
import com.mdd.front.vo.share.SharingInfoVo;

import java.util.Date;

public interface ShareService {

    PageResult<SharingInfoVo> Sharing(PageValidate pageValidate, Integer userId, Integer isBuy, String queryTime);

    User isRegister(String username);

    /**
     * 分享埋点-绑定用户
     * @param userId
     * @param code
     * @param username
     * @param goodsId
     * @return
     */
    AjaxResult share(Integer userId, String code, String username, Integer goodsId);


}
